package com.enjoyor.health.HGPT.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 对话-内容记录
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
@TableName("dialog_content")
@ApiModel(value = "DialogContent对象", description = "对话-内容记录")
public class DialogContent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("对话id")
    private String dialogId;

    @ApiModelProperty("编号（顺序）")
    private Integer number;

    @ApiModelProperty("对话内容（一问一答）")
    private String content;

    @ApiModelProperty("时间")
    private LocalDateTime time;

    @ApiModelProperty("评价，0-点踩，1-点赞")
    private Integer evaluation;

    @ApiModelProperty("评价详情，1-答非所问，2-回答有误，3-没有帮助，4-存在偏见，5-内容违法")
    private Integer evaluationDetail;

    @ApiModelProperty("评价的用户自定义comment")
    private String evaluationComment;

    @ApiModelProperty("用户发言")
    private String question;

    @ApiModelProperty("返回前端显示的回答")
    private String showContent;

    @ApiModelProperty("返回前端显示的statement")
    private Integer showStatement;

    @ApiModelProperty("返回前端显示的time")
    private LocalDateTime showTime;

    @ApiModelProperty("返回前端显示的title")
    private String showTitle;

    @ApiModelProperty("返回前端显示的url")
    private String showUrl;

    @ApiModelProperty("入库时间")
    private LocalDateTime storageTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDialogId() {
        return dialogId;
    }

    public void setDialogId(String dialogId) {
        this.dialogId = dialogId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public Integer getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(Integer evaluation) {
        this.evaluation = evaluation;
    }

    public Integer getEvaluationDetail() {
        return evaluationDetail;
    }

    public void setEvaluationDetail(Integer evaluationDetail) {
        this.evaluationDetail = evaluationDetail;
    }

    public String getEvaluationComment() {
        return evaluationComment;
    }

    public void setEvaluationComment(String evaluationComment) {
        this.evaluationComment = evaluationComment;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getShowContent() {
        return showContent;
    }

    public void setShowContent(String showContent) {
        this.showContent = showContent;
    }

    public Integer getShowStatement() {
        return showStatement;
    }

    public void setShowStatement(Integer showStatement) {
        this.showStatement = showStatement;
    }

    public LocalDateTime getShowTime() {
        return showTime;
    }

    public void setShowTime(LocalDateTime showTime) {
        this.showTime = showTime;
    }

    public String getShowTitle() {
        return showTitle;
    }

    public void setShowTitle(String showTitle) {
        this.showTitle = showTitle;
    }

    public String getShowUrl() {
        return showUrl;
    }

    public void setShowUrl(String showUrl) {
        this.showUrl = showUrl;
    }

    public LocalDateTime getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(LocalDateTime storageTime) {
        this.storageTime = storageTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DialogContent{" +
            "id = " + id +
            ", dialogId = " + dialogId +
            ", number = " + number +
            ", content = " + content +
            ", time = " + time +
            ", evaluation = " + evaluation +
            ", evaluationDetail = " + evaluationDetail +
            ", evaluationComment = " + evaluationComment +
            ", question = " + question +
            ", showContent = " + showContent +
            ", showStatement = " + showStatement +
            ", showTime = " + showTime +
            ", showTitle = " + showTitle +
            ", showUrl = " + showUrl +
            ", storageTime = " + storageTime +
            ", updateTime = " + updateTime +
        "}";
    }
}
